// @Author EthanScriptOn
// @Desc
package node

// DoublyLinkedInformation A structure in a doubly linked list that stores node information
type DoublyLinkedInformation struct {
	elem Node
}

func GenerateDoublyLinkedInformation(elem Node) *DoublyLinkedInformation {
	return &DoublyLinkedInformation{
		elem: elem,
	}
}

// NodeElem Obtain node information
func (d *DoublyLinkedInformation) NodeElem() Node {
	return d.elem
}
